Conditions | 2 |
Paths | 1 |
Total Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | var pollux = { |
||
28 | [].forEach.call( depends, function( el ) { |
||
29 | var dependency = pollux.metabox.setVisibility( el ); |
||
30 | var event = dependency.type === 'checkbox' ? 'change' : 'keyup'; |
||
31 | dependency.addEventListener( event, function() { |
||
32 | pollux.metabox.onChangeValue( el ); |
||
33 | }, false ); |
||
34 | }); |
||
35 | |||
37 |
This check looks for parameters in functions that are not used in the function body and are not followed by other parameters which are used inside the function.